<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>邀请我的</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no" />
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<link rel="stylesheet" href="../css/base.css" />
	<link rel="stylesheet" href="../css/Invited_me.css" />
	<script src="../js/jquery-2.2.3.min.js"></script>
	<script type="text/javascript" src="../js/rem.js"></script>
	<script src="../js/common.js"></script>
</head>

<body>
	<div class="header">
		<a href="javascript:history.back(-1)"><img src="../img/g_next.png" alt="" /></a>
		邀请我的
	</div>
	<div class="invited_me_main">
		<div class="_me_main">
			<!-- <img class="tx" src="../img/g_tx.png" alt="" /> -->
			<ul class="_me_main_bottom">
				<li class="_me_main_bottom_p">
					<p class="name">姓名</p>
					<p class="tel tel-username"></p>
				</li>
				<li class="_me_main_bottom_p">
					<p class="name">手机号</p>
					<p class="tel tel-phone"></p>
				</li>
			</ul>
		</div>
	</div>
</body>
<script>
	$.ajax({
		url: SURL + '/api/xlsUser/promotePeople',
		dataType: 'json',
		data: {
			userId: localStorage.getItem('userId'),
		},
		type: 'get',
		success: res => {
			res.data.users.headImg == null ? $('._me_main').prepend(`<img class="tx" src="../img/g_tx.png" alt="" />`) : $(
				'._me_main').append(`<img class="tx" src="${users.headImg}" alt="" />`)
			res.data.users.username == null ? $('.tel-username').text('') : $('.tel-username').text(res.data.users.username);
			res.data.users.mobile == null ? $('.tel-phone').text('') : $('.tel-phone').text(res.data.users.mobile);
		}
	})
</script>

</html>